---
title: OLEDBConnection.MaxDrillthroughRecords Property (Excel)
keywords: vbaxl10.chm794095
f1_keywords:
- vbaxl10.chm794095
ms.prod: excel
api_name:
- Excel.OLEDBConnection.MaxDrillthroughRecords
ms.assetid: 2dda9194-7a68-cfb1-ba94-c3670d0e66b8
ms.date: 06/08/2017
---


# OLEDBConnection.MaxDrillthroughRecords Property (Excel)

Returns or sets the maximum number of records to retrieve. Read/write  **Long** .


## Syntax

 _expression_ . **MaxDrillthroughRecords**

 _expression_ A variable that represents an **OLEDBConnection** object.


## See also


#### Concepts


[OLEDBConnection Object](oledbconnection-object-excel.md)

